package com.zhongshengnetwork.rightbe.dbmodel;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

/**
 * Created by zhongsheng-luojianlan on 16/11/26.
 */

@Table(name = "notifydb")
public class NotifydbModel {
    @Column(name = "id",isId = true)
    private long id;
    @Column(name = "userid")
    private String userid;
    @Column(name = "type")
    private int type;// 0-红包退款 1-获得商品 2-申请加入团 3-获得体验商品 4-物流信息
    @Column(name = "content")
    private String content;
    @Column(name = "dict")
    private String dict;
    @Column(name = "state")
    private int state;//0-未读 1-已读
    @Column(name = "time")
    private long time;

    @Column(name = "msgtype")
    private int msgtype;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getDict() {
        return dict;
    }

    public void setDict(String dict) {
        this.dict = dict;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public int getMsgtype() {
        return msgtype;
    }

    public void setMsgtype(int msgtype) {
        this.msgtype = msgtype;
    }
}
